<#assign base=request.contextPath />
<#assign oneLabel="系统管理">

<#assign twoLabel="管理员管理">
<#assign twoUrl=base+"/role/list">

<#assign leafLabel="用户授权">
<!DOCTYPE html>
<html lang="en">
<head>
	<#include "/commons/headImport.ftl">
</head>
<body>
<#include "/commons/header.ftl">
<form class="form-horizontal" name="formName" method="post">
<#include "/commons/hiddenField.ftl">
<input type="hidden" name="userId" value="${userDO.id}"/>
<div class="row">
	<div class="col-xs-12">
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right">用户名</label>
			<div class="col-sm-4">
				<div class="help-block col-xs-12 col-sm-reset inline">${(userDO.username)!'-'}</div>
			</div>
		</div>
		<div class="space-4"></div>
			
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right">真实姓名</label>
			<div class="col-sm-4">
				<div class="help-block col-xs-12 col-sm-reset inline">${(userDO.trueName)!'-'}</div>
			</div>
		</div>
		<div class="space-4"></div>
			
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right">角色</label>
			<div class="col-sm-6">
			 <div class="checkbox">
				<@spring.formCheckboxesHtml "roleIdStr" roleList roleIdList "" "class='ace'" "class='col-sm-4'" 'class="lbl"'/>
			  </div>
			</div>
		</div>
	</div><!-- /.col -->
</div><!-- /.row -->
</form>
<div class="hr hr32 hr-dotted"></div>
<div class="clearfix">
	<div class="col-md-offset-3 col-md-9">
		<button class="btn btn-xs btn-info" type="button" id="save_id" url="${base}/user/bindRole">
			<i class="icon-save bigger-110"></i>保存
		</button>
		<button class="btn btn-xs return_class" type="button" url="${base}/user/list">
			<i class="icon-reply bigger-110"></i>返回
		</button>
	</div>
</div>
<#include "/commons/footer.ftl">						
</body>
</html>
